Skip to content

Conversation

@Tyarel8
Copy link
Contributor

@Tyarel8 Tyarel8 commented Oct 12, 2025

Following nushell/nushell#16852, I added not-starts-with/not-ends-with, as well as has/not-has and the like/not-like aliases.

fdncred pushed a commit to nushell/nushell that referenced this pull request Oct 12, 2025
<!--
Thank you for improving Nushell!
Please, read our contributing guide:
https://github.com/nushell/nushell/blob/main/CONTRIBUTING.md
-->

Since no one seems opposed to it
https://discord.com/channels/601130461678272522/615329862395101194/1426617232074608650

## Release notes summary - What our users need to know
<!--
This section will be included as part of our release notes. See the
contributing guide for more details.
Please include only details relevant for users here. Motivation and
technical details can be added above or below this section.

You may leave this section blank until your PR is finalized. Ask a core
team member if you need help filling this section.
-->
Added `not-starts-with` and `not-ends-with` operators to be on par with
other comparison operators,

## Tasks after submitting
<!-- Remove any tasks which aren't relevant for your PR, or add your own
-->
- [x] Add tests
- [x] Update the
[documentation](https://github.com/nushell/nushell.github.io).
nushell/nushell.github.io#2054
- [x] Update the tree-sitter grammar.
nushell/tree-sitter-nu#227
@fdncred fdncred merged commit f62142d into nushell:main Oct 12, 2025
2 checks passed
@fdncred
Copy link
Contributor

fdncred commented Oct 12, 2025

Thanks

@Tyarel8 Tyarel8 deleted the patch-2 branch October 12, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants